home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / util / gnu / a2_0bEmacs_bin.lha / Emacs-19.25 / info / emacs-12 (.txt) < prev    next >
GNU Info File  |  1992-02-21  |  43KB  |  719 lines

  1. This is Info file ../info/emacs, produced by Makeinfo-1.43 from the
  2. input file emacs.tex.
  3.    This file documents the GNU Emacs editor.
  4.    Copyright (C) 1985, 1986, 1988 Richard M. Stallman.
  5.    Permission is granted to make and distribute verbatim copies of
  6. this manual provided the copyright notice and this permission notice
  7. are preserved on all copies.
  8.    Permission is granted to copy and distribute modified versions of
  9. this manual under the conditions for verbatim copying, provided also
  10. that the sections entitled "The GNU Manifesto", "Distribution" and "GNU
  11. General Public License" are included exactly as in the original, and
  12. provided that the entire resulting derived work is distributed under
  13. the terms of a permission notice identical to this one.
  14.    Permission is granted to copy and distribute translations of this
  15. manual into another language, under the above conditions for modified
  16. versions, except that the sections entitled "The GNU Manifesto",
  17. "Distribution" and "GNU General Public License" may be included in a
  18. translation approved by the author instead of in the original English.
  19. File: emacs,  Node: Quitting,  Next: Lossage,  Prev: Customization,  Up: Top
  20. Quitting and Aborting
  21. =====================
  22. `C-g'
  23.      Quit.  Cancel running or partially typed command.
  24. `C-]'
  25.      Abort innermost recursive editing level and cancel the command
  26.      which invoked it (`abort-recursive-edit').
  27. `M-x top-level'
  28.      Abort all recursive editing levels that are currently executing.
  29. `C-x u'
  30.      Cancel an already-executed command, usually (`undo').
  31.    There are two ways of cancelling commands which are not finished
  32. executing: "quitting" with `C-g', and "aborting" with `C-]' or `M-x
  33. top-level'.  Quitting is cancelling a partially typed command or one
  34. which is already running.  Aborting is getting out of a recursive
  35. editing level and cancelling the command that invoked the recursive
  36. edit.
  37.    Quitting with `C-g' is used for getting rid of a partially typed
  38. command, or a numeric argument that you don't want.  It also stops a
  39. running command in the middle in a relatively safe way, so you can use
  40. it if you accidentally give a command which takes a long time.  In
  41. particular, it is safe to quit out of killing; either your text will
  42. ALL still be there, or it will ALL be in the kill ring (or maybe
  43. both).  Quitting an incremental search does special things documented
  44. under searching; in general, it may take two successive `C-g'
  45. characters to get out of a search.  `C-g' works by setting the
  46. variable `quit-flag' to `t' the instant `C-g' is typed; Emacs Lisp
  47. checks this variable frequently and quits if it is non-`nil'.  `C-g'
  48. is only actually executed as a command if it is typed while Emacs is
  49. waiting for input.
  50.    If you quit twice in a row before the first `C-g' is recognized, you
  51. activate the "emergency escape" feature and return to the shell. 
  52. *Note Emergency Escape::.
  53.    Aborting with `C-]' (`abort-recursive-edit') is used to get out of
  54. a recursive editing level and cancel the command which invoked it. 
  55. Quitting with `C-g' does not do this, and could not do this, because it
  56. is used to cancel a partially typed command within the recursive
  57. editing level.  Both operations are useful.  For example, if you are
  58. in the Emacs debugger (*note Lisp Debug::.) and have typed `C-u 8' to
  59. enter a numeric argument, you can cancel that argument with `C-g' and
  60. remain in the debugger.
  61.    The command `M-x top-level' is equivalent to "enough" `C-]'
  62. commands to get you out of all the levels of recursive edits that you
  63. are in.  `C-]' gets you out one level at a time, but `M-x top-level'
  64. goes out all levels at once.  Both `C-]' and `M-x top-level' are like
  65. all other commands, and unlike `C-g', in that they are effective only
  66. when Emacs is ready for a command.  `C-]' is an ordinary key and has
  67. its meaning only because of its binding in the keymap.  *Note
  68. Recursive Edit::.
  69.    `C-x u' (`undo') is not strictly speaking a way of cancelling a
  70. command, but you can think of it as cancelling a command already
  71. finished executing.  *Note Undo::.
  72. File: emacs,  Node: Lossage,  Next: Bugs,  Prev: Quitting,  Up: Top
  73. Dealing with Emacs Trouble
  74. ==========================
  75.    This section describes various conditions in which Emacs fails to
  76. work, and how to recognize them and correct them.
  77. * Menu:
  78. * Stuck Recursive::    `[...]' in mode line around the parentheses
  79. * Screen Garbled::     Garbage on the screen
  80. * Text Garbled::       Garbage in the text
  81. * Unasked-for Search:: Spontaneous entry to incremental search
  82. * Emergency Escape::   Emergency escape--
  83.                         What to do if Emacs stops responding
  84. * Total Frustration::  When you are at your wits' end.
  85. File: emacs,  Node: Stuck Recursive,  Next: Screen Garbled,  Prev: Lossage,  Up: Lossage
  86. Recursive Editing Levels
  87. ------------------------
  88.    Recursive editing levels are important and useful features of
  89. Emacs, but they can seem like malfunctions to the user who does not
  90. understand them.
  91.    If the mode line has square brackets `[...]' around the parentheses
  92. that contain the names of the major and minor modes, you have entered a
  93. recursive editing level.  If you did not do this on purpose, or if you
  94. don't understand what that means, you should just get out of the
  95. recursive editing level.  To do so, type `M-x top-level'.  This is
  96. called getting back to top level.  *Note Recursive Edit::.
  97. File: emacs,  Node: Screen Garbled,  Next: Text Garbled,  Prev: Stuck Recursive,  Up: Lossage
  98. Garbage on the Screen
  99. ---------------------
  100.    If the data on the screen looks wrong, the first thing to do is see
  101. whether the text is really wrong.  Type `C-l', to redisplay the entire
  102. screen.  If it appears correct after this, the problem was entirely in
  103. the previous screen update.
  104.    Display updating problems often result from an incorrect termcap
  105. entry for the terminal you are using.  The file `etc/TERMS' in the
  106. Emacs distribution gives the fixes for known problems of this sort. 
  107. `INSTALL' contains general advice for these problems in one of its
  108. sections.  Very likely there is simply insufficient padding for certain
  109. display operations.  To investigate the possibility that you have this
  110. sort of problem, try Emacs on another terminal made by a different
  111. manufacturer.  If problems happen frequently on one kind of terminal
  112. but not another kind, it is likely to be a bad termcap entry, though
  113. it could also be due to a bug in Emacs that appears for terminals that
  114. have or that lack specific features.
  115. File: emacs,  Node: Text Garbled,  Next: Unasked-for Search,  Prev: Screen Garbled,  Up: Lossage
  116. Garbage in the Text
  117. -------------------
  118.    If `C-l' shows that the text is wrong, try undoing the changes to it
  119. using `C-x u' until it gets back to a state you consider correct.  Also
  120. try `C-h l' to find out what command you typed to produce the observed
  121. results.
  122.    If a large portion of text appears to be missing at the beginning or
  123. end of the buffer, check for the word `Narrow' in the mode line.  If
  124. it appears, the text is still present, but marked off-limits.  To make
  125. it visible again, type `C-x w'.  *Note Narrowing::.
  126. File: emacs,  Node: Unasked-for Search,  Next: Emergency Escape,  Prev: Text Garbled,  Up: Lossage
  127. Spontaneous Entry to Incremental Search
  128. ---------------------------------------
  129.    If Emacs spontaneously displays `I-search:' at the bottom of the
  130. screen, it means that the terminal is sending `C-s' and `C-q'
  131. according to the poorly designed xon/xoff "flow control" protocol.  You
  132. should try to prevent this by putting the terminal in a mode where it
  133. will not use flow control or giving it enough padding that it will
  134. never send a `C-s'.  If that cannot be done, you must tell Emacs to
  135. expect flow control to be used, until you can get a properly designed
  136. terminal.
  137.    Information on how to do these things can be found in the file
  138. `INSTALL' in the Emacs distribution.
  139. File: emacs,  Node: Emergency Escape,  Next: Total Frustration,  Prev: Unasked-for Search,  Up: Lossage
  140. Emergency Escape
  141. ----------------
  142.    Because at times there have been bugs causing Emacs to loop without
  143. checking `quit-flag', a special feature causes Emacs to be suspended
  144. immediately if you type a second `C-g' while the flag is already set,
  145. so you can always get out of GNU Emacs.  Normally Emacs recognizes and
  146. clears `quit-flag' (and quits!) quickly enough to prevent this from
  147. happening.
  148.    When you resume Emacs after a suspension caused by multiple `C-g',
  149. it asks two questions before going back to what it had been doing:
  150.      Auto-save? (y or n)
  151.      Abort (and dump core)? (y or n)
  152. Answer each one with `y' or `n' followed by RET.
  153.    Saying `y' to `Auto-save?' causes immediate auto-saving of all
  154. modified buffers in which auto-saving is enabled.
  155.    Saying `y' to `Abort (and dump core)?' causes an illegal
  156. instruction to be executed, dumping core.  This is to enable a wizard
  157. to figure out why Emacs was failing to quit in the first place. 
  158. Execution does not continue after a core dump.  If you answer `n',
  159. execution does continue.  With luck, GNU Emacs will ultimately check
  160. `quit-flag' and quit normally.  If not, and you type another `C-g', it
  161. is suspended again.
  162.    If Emacs is not really hung, just slow, you may invoke the double
  163. `C-g' feature without really meaning to.  Then just resume and answer
  164. `n' to both questions, and you will arrive at your former state. 
  165. Presumably the quit you requested will happen soon.
  166.    The double-`C-g' feature may be turned off when Emacs is running
  167. under a window system, since the window system always enables you to
  168. kill Emacs or to create another window and run another program.
  169. File: emacs,  Node: Total Frustration,  Prev: Emergency Escape,  Up: Lossage
  170. Help for Total Frustration
  171. --------------------------
  172.    If using Emacs (or something else) becomes terribly frustrating and
  173. none of the techniques described above solve the problem, Emacs can
  174. still help you.
  175.    First, if the Emacs you are using is not responding to commands,
  176. type `C-g C-g' to get out of it and then start a new one.
  177.    Second, type `M-x doctor RET'.
  178.    The doctor will make you feel better.  Each time you say something
  179. to the doctor, you must end it by typing RET RET.  This lets the
  180. doctor know you are finished.
  181. File: emacs,  Node: Bugs,  Next: Manifesto,  Prev: Lossage,  Up: Top
  182. Reporting Bugs
  183. ==============
  184.    Sometimes you will encounter a bug in Emacs.  Although we cannot
  185. promise we can or will fix the bug, and we might not even agree that
  186. it is a bug, we want to hear about bugs you encounter in case we do
  187. want to fix them.
  188.    To make it possible for us to fix a bug, you must report it.  In
  189. order to do so effectively, you must know when and how to do it.
  190. When Is There a Bug
  191. -------------------
  192.    If Emacs executes an illegal instruction, or dies with an operating
  193. system error message that indicates a problem in the program (as
  194. opposed to something like "disk full"), then it is certainly a bug.
  195.    If Emacs updates the display in a way that does not correspond to
  196. what is in the buffer, then it is certainly a bug.  If a command seems
  197. to do the wrong thing but the problem corrects itself if you type
  198. `C-l', it is a case of incorrect display updating.
  199.    Taking forever to complete a command can be a bug, but you must make
  200. certain that it was really Emacs's fault.  Some commands simply take a
  201. long time.  Type `C-g' and then `C-h l' to see whether the input Emacs
  202. received was what you intended to type; if the input was such that you
  203. KNOW it should have been processed quickly, report a bug.  If you
  204. don't know whether the command should take a long time, find out by
  205. looking in the manual or by asking for assistance.
  206.    If a command you are familiar with causes an Emacs error message in
  207. a case where its usual definition ought to be reasonable, it is
  208. probably a bug.
  209.    If a command does the wrong thing, that is a bug.  But be sure you
  210. know for certain what it ought to have done.  If you aren't familiar
  211. with the command, or don't know for certain how the command is
  212. supposed to work, then it might actually be working right.  Rather
  213. than jumping to conclusions, show the problem to someone who knows for
  214. certain.
  215.    Finally, a command's intended definition may not be best for editing
  216. with.  This is a very important sort of problem, but it is also a
  217. matter of judgment.  Also, it is easy to come to such a conclusion out
  218. of ignorance of some of the existing features.  It is probably best
  219. not to complain about such a problem until you have checked the
  220. documentation in the usual ways, feel confident that you understand
  221. it, and know for certain that what you want is not available.  If you
  222. are not sure what the command is supposed to do after a careful
  223. reading of the manual, check the index and glossary for any terms that
  224. may be unclear.  If you still do not understand, this indicates a bug
  225. in the manual.  The manual's job is to make everything clear.  It is
  226. just as important to report documentation bugs as program bugs.
  227.    If the on-line documentation string of a function or variable
  228. disagrees with the manual, one of them must be wrong, so report the
  229. How to Report a Bug
  230. -------------------
  231.    When you decide that there is a bug, it is important to report it
  232. and to report it in a way which is useful.  What is most useful is an
  233. exact description of what commands you type, starting with the shell
  234. command to run Emacs, until the problem happens.  Always include the
  235. version number of Emacs that you are using; type `M-x emacs-version'
  236. to print this.
  237.    The most important principle in reporting a bug is to report FACTS,
  238. not hypotheses or categorizations.  It is always easier to report the
  239. facts, but people seem to prefer to strain to posit explanations and
  240. report them instead.  If the explanations are based on guesses about
  241. how Emacs is implemented, they will be useless; we will have to try to
  242. figure out what the facts must have been to lead to such speculations.
  243.  Sometimes this is impossible.  But in any case, it is unnecessary
  244. work for us.
  245.    For example, suppose that you type `C-x C-f /glorp/baz.ugh RET',
  246. visiting a file which (you know) happens to be rather large, and Emacs
  247. prints out `I feel pretty today'.  The best way to report the bug is
  248. with a sentence like the preceding one, because it gives all the facts
  249. and nothing but the facts.
  250.    Do not assume that the problem is due to the size of the file and
  251. say, "When I visit a large file, Emacs prints out `I feel pretty
  252. today'." This is what we mean by "guessing explanations".  The problem
  253. is just as likely to be due to the fact that there is a `z' in the
  254. file name.  If this is so, then when we got your report, we would try
  255. out the problem with some "large file", probably with no `z' in its
  256. name, and not find anything wrong.  There is no way in the world that
  257. we could guess that we should try visiting a file with a `z' in its
  258. name.
  259.    Alternatively, the problem might be due to the fact that the file
  260. starts with exactly 25 spaces.  For this reason, you should make sure
  261. that you inform us of the exact contents of any file that is needed to
  262. reproduce the bug.  What if the problem only occurs when you have
  263. typed the `C-x C-a' command previously?  This is why we ask you to
  264. give the exact sequence of characters you typed since starting to use
  265. Emacs.
  266.    You should not even say "visit a file" instead of `C-x C-f' unless
  267. you know that it makes no difference which visiting command is used. 
  268. Similarly, rather than saying "if I have three characters on the line,"
  269. say "after I type `RET A B C RET C-p'," if that is the way you entered
  270. the text.
  271.    If you are not in Fundamental mode when the problem occurs, you
  272. should say what mode you are in.
  273.    If the manifestation of the bug is an Emacs error message, it is
  274. important to report not just the text of the error message but a
  275. backtrace showing how the Lisp program in Emacs arrived at the error. 
  276. To make the backtrace, you must execute the Lisp expression `(setq
  277. debug-on-error t)' before the error happens (that is to say, you must
  278. execute that expression and then make the bug happen).  This causes
  279. the Lisp debugger to run (*note Lisp Debug::.).  The debugger's
  280. backtrace can be copied as text into the bug report.  This use of the
  281. debugger is possible only if you know how to make the bug happen
  282. again.  Do note the error message the first time the bug happens, so
  283. if you can't make it happen again, you can report at least that.
  284.    Check whether any programs you have loaded into the Lisp world,
  285. including your `.emacs' file, set any variables that may affect the
  286. functioning of Emacs.  Also, see whether the problem happens in a
  287. freshly started Emacs without loading your `.emacs' file (start Emacs
  288. with the `-q' switch to prevent loading the init file.)  If the
  289. problem does NOT occur then, it is essential that we know the contents
  290. of any programs that you must load into the Lisp world in order to
  291. cause the problem to occur.
  292.    If the problem does depend on an init file or other Lisp programs
  293. that are not part of the standard Emacs system, then you should make
  294. sure it is not a bug in those programs by complaining to their
  295. maintainers first.  After they verify that they are using Emacs in a
  296. way that is supposed to work, they should report the bug.
  297.    If you can tell us a way to cause the problem without visiting any
  298. files, please do so.  This makes it much easier to debug.  If you do
  299. need files, make sure you arrange for us to see their exact contents. 
  300. For example, it can often matter whether there are spaces at the ends
  301. of lines, or a newline after the last line in the buffer (nothing
  302. ought to care whether the last line is terminated, but tell that to
  303. the bugs).
  304.    The easy way to record the input to Emacs precisely is to to write a
  305. dribble file; execute the Lisp expression
  306.      (open-dribble-file "~/dribble")
  307. using `Meta-ESC' or from the `*scratch*' buffer just after starting
  308. Emacs.  From then on, all Emacs input will be written in the specified
  309. dribble file until the Emacs process is killed.
  310.    For possible display bugs, it is important to report the terminal
  311. type (the value of environment variable `TERM'), the complete termcap
  312. entry for the terminal from `/etc/termcap' (since that file is not
  313. identical on all machines), and the output that Emacs actually sent to
  314. the terminal.  The way to collect this output is to execute the Lisp
  315. expression
  316.      (open-termscript "~/termscript")
  317. using `Meta-ESC' or from the `*scratch*' buffer just after starting
  318. Emacs.  From then on, all output from Emacs to the terminal will be
  319. written in the specified termscript file as well, until the Emacs
  320. process is killed.  If the problem happens when Emacs starts up, put
  321. this expression into your `.emacs' file so that the termscript file
  322. will be open when Emacs displays the screen for the first time.  Be
  323. warned: it is often difficult, and sometimes impossible, to fix a
  324. terminal-dependent bug without access to a terminal of the type that
  325. stimulates the bug.
  326.    The address for reporting bugs is
  327. GNU Emacs Bugs
  328. 545 Tech Sq, rm 703
  329. Cambridge, MA 02139
  330. or send email to `mit-eddie!bug-gnu-emacs' (Usenet) or
  331. `bug-gnu-emacs@prep.ai.mit.edu' (Internet).
  332.    Once again, we do not promise to fix the bug; but if the bug is
  333. serious, or ugly, or easy to fix, chances are we will want to.
  334. File: emacs,  Node: Manifesto,  Prev: Bugs,  Up: Top
  335. The GNU Manifesto
  336. *****************
  337. What's GNU?  Gnu's Not Unix!
  338. ============================
  339.    GNU, which stands for Gnu's Not Unix, is the name for the complete
  340. Unix-compatible software system which I am writing so that I can give
  341. it away free to everyone who can use it.  Several other volunteers are
  342. helping me.  Contributions of time, money, programs and equipment are
  343. greatly needed.
  344.    So far we have an Emacs text editor with Lisp for writing editor
  345. commands, a source level debugger, a yacc-compatible parser generator,
  346. a linker, and around 35 utilities.  A shell (command interpreter) is
  347. nearly completed.  A new portable optimizing C compiler has compiled
  348. itself and may be released this year.  An initial kernel exists but
  349. many more features are needed to emulate Unix.  When the kernel and
  350. compiler are finished, it will be possible to distribute a GNU system
  351. suitable for program development.  We will use TeX as our text
  352. formatter, but an nroff is being worked on.  We will use the free,
  353. portable X window system as well.  After this we will add a portable
  354. Common Lisp, an Empire game, a spreadsheet, and hundreds of other
  355. things, plus on-line documentation.  We hope to supply, eventually,
  356. everything useful that normally comes with a Unix system, and more.
  357.    GNU will be able to run Unix programs, but will not be identical to
  358. Unix.  We will make all improvements that are convenient, based on our
  359. experience with other operating systems.  In particular, we plan to
  360. have longer filenames, file version numbers, a crashproof file system,
  361. filename completion perhaps, terminal-independent display support, and
  362. perhaps eventually a Lisp-based window system through which several
  363. Lisp programs and ordinary Unix programs can share a screen.  Both C
  364. and Lisp will be available as system programming languages.  We will
  365. try to support UUCP, MIT Chaosnet, and Internet protocols for
  366. communication.
  367.    GNU is aimed initially at machines in the 68000/16000 class with
  368. virtual memory, because they are the easiest machines to make it run
  369. on.  The extra effort to make it run on smaller machines will be left
  370. to someone who wants to use it on them.
  371.    To avoid horrible confusion, please pronounce the `G' in the word
  372. `GNU' when it is the name of this project.
  373. Why I Must Write GNU
  374. ====================
  375.    I consider that the golden rule requires that if I like a program I
  376. must share it with other people who like it.  Software sellers want to
  377. divide the users and conquer them, making each user agree not to share
  378. with others.  I refuse to break solidarity with other users in this
  379. way.  I cannot in good conscience sign a nondisclosure agreement or a
  380. software license agreement.  For years I worked within the Artificial
  381. Intelligence Lab to resist such tendencies and other inhospitalities,
  382. but eventually they had gone too far: I could not remain in an
  383. institution where such things are done for me against my will.
  384.    So that I can continue to use computers without dishonor, I have
  385. decided to put together a sufficient body of free software so that I
  386. will be able to get along without any software that is not free.  I
  387. have resigned from the AI lab to deny MIT any legal excuse to prevent
  388. me from giving GNU away.
  389. Why GNU Will Be Compatible with Unix
  390. ====================================
  391.    Unix is not my ideal system, but it is not too bad.  The essential
  392. features of Unix seem to be good ones, and I think I can fill in what
  393. Unix lacks without spoiling them.  And a system compatible with Unix
  394. would be convenient for many other people to adopt.
  395. How GNU Will Be Available
  396. =========================
  397.    GNU is not in the public domain.  Everyone will be permitted to
  398. modify and redistribute GNU, but no distributor will be allowed to
  399. restrict its further redistribution.  That is to say, proprietary
  400. modifications will not be allowed.  I want to make sure that all
  401. versions of GNU remain free.
  402. Why Many Other Programmers Want to Help
  403. =======================================
  404.    I have found many other programmers who are excited about GNU and
  405. want to help.
  406.    Many programmers are unhappy about the commercialization of system
  407. software.  It may enable them to make more money, but it requires them
  408. to feel in conflict with other programmers in general rather than feel
  409. as comrades.  The fundamental act of friendship among programmers is
  410. the sharing of programs; marketing arrangements now typically used
  411. essentially forbid programmers to treat others as friends.  The
  412. purchaser of software must choose between friendship and obeying the
  413. law.  Naturally, many decide that friendship is more important.  But
  414. those who believe in law often do not feel at ease with either choice.
  415.  They become cynical and think that programming is just a way of
  416. making money.
  417.    By working on and using GNU rather than proprietary programs, we
  418. can be hospitable to everyone and obey the law.  In addition, GNU
  419. serves as an example to inspire and a banner to rally others to join
  420. us in sharing.  This can give us a feeling of harmony which is
  421. impossible if we use software that is not free.  For about half the
  422. programmers I talk to, this is an important happiness that money
  423. cannot replace.
  424. How You Can Contribute
  425. ======================
  426.    I am asking computer manufacturers for donations of machines and
  427. money.  I'm asking individuals for donations of programs and work.
  428.    One consequence you can expect if you donate machines is that GNU
  429. will run on them at an early date.  The machines should be complete,
  430. ready to use systems, approved for use in a residential area, and not
  431. in need of sophisticated cooling or power.
  432.    I have found very many programmers eager to contribute part-time
  433. work for GNU.  For most projects, such part-time distributed work
  434. would be very hard to coordinate; the independently-written parts
  435. would not work together.  But for the particular task of replacing
  436. Unix, this problem is absent.  A complete Unix system contains
  437. hundreds of utility programs, each of which is documented separately. 
  438. Most interface specifications are fixed by Unix compatibility.  If
  439. each contributor can write a compatible replacement for a single Unix
  440. utility, and make it work properly in place of the original on a Unix
  441. system, then these utilities will work right when put together.  Even
  442. allowing for Murphy to create a few unexpected problems, assembling
  443. these components will be a feasible task.  (The kernel will require
  444. closer communication and will be worked on by a small, tight group.)
  445.    If I get donations of money, I may be able to hire a few people
  446. full or part time.  The salary won't be high by programmers'
  447. standards, but I'm looking for people for whom building community
  448. spirit is as important as making money.  I view this as a way of
  449. enabling dedicated people to devote their full energies to working on
  450. GNU by sparing them the need to make a living in another way.
  451. Why All Computer Users Will Benefit
  452. ===================================
  453.    Once GNU is written, everyone will be able to obtain good system
  454. software free, just like air.
  455.    This means much more than just saving everyone the price of a Unix
  456. license.  It means that much wasteful duplication of system
  457. programming effort will be avoided.  This effort can go instead into
  458. advancing the state of the art.
  459.    Complete system sources will be available to everyone.  As a
  460. result, a user who needs changes in the system will always be free to
  461. make them himself, or hire any available programmer or company to make
  462. them for him.  Users will no longer be at the mercy of one programmer
  463. or company which owns the sources and is in sole position to make
  464. changes.
  465.    Schools will be able to provide a much more educational environment
  466. by encouraging all students to study and improve the system code. 
  467. Harvard's computer lab used to have the policy that no program could
  468. be installed on the system if its sources were not on public display,
  469. and upheld it by actually refusing to install certain programs.  I was
  470. very much inspired by this.
  471.    Finally, the overhead of considering who owns the system software
  472. and what one is or is not entitled to do with it will be lifted.
  473.    Arrangements to make people pay for using a program, including
  474. licensing of copies, always incur a tremendous cost to society through
  475. the cumbersome mechanisms necessary to figure out how much (that is,
  476. which programs) a person must pay for.  And only a police state can
  477. force everyone to obey them.  Consider a space station where air must
  478. be manufactured at great cost: charging each breather per liter of air
  479. may be fair, but wearing the metered gas mask all day and all night is
  480. intolerable even if everyone can afford to pay the air bill.  And the
  481. TV cameras everywhere to see if you ever take the mask off are
  482. outrageous.  It's better to support the air plant with a head tax and
  483. chuck the masks.
  484.    Copying all or parts of a program is as natural to a programmer as
  485. breathing, and as productive.  It ought to be as free.
  486. Some Easily Rebutted Objections to GNU's Goals
  487. ==============================================
  488.      "Nobody will use it if it is free, because that means they can't
  489.      rely on any support."
  490.      "You have to charge for the program to pay for providing the
  491.      support."
  492.    If people would rather pay for GNU plus service than get GNU free
  493. without service, a company to provide just service to people who have
  494. obtained GNU free ought to be profitable.
  495.    We must distinguish between support in the form of real programming
  496. work and mere handholding.  The former is something one cannot rely on
  497. from a software vendor.  If your problem is not shared by enough
  498. people, the vendor will tell you to get lost.
  499.    If your business needs to be able to rely on support, the only way
  500. is to have all the necessary sources and tools.  Then you can hire any
  501. available person to fix your problem; you are not at the mercy of any
  502. individual.  With Unix, the price of sources puts this out of
  503. consideration for most businesses.  With GNU this will be easy.  It is
  504. still possible for there to be no available competent person, but this
  505. problem cannot be blamed on distibution arrangements.  GNU does not
  506. eliminate all the world's problems, only some of them.
  507.    Meanwhile, the users who know nothing about computers need
  508. handholding: doing things for them which they could easily do
  509. themselves but don't know how.
  510.    Such services could be provided by companies that sell just
  511. hand-holding and repair service.  If it is true that users would
  512. rather spend money and get a product with service, they will also be
  513. willing to buy the service having got the product free.  The service
  514. companies will compete in quality and price; users will not be tied to
  515. any particular one.  Meanwhile, those of us who don't need the service
  516. should be able to use the program without paying for the service.
  517.      "You cannot reach many people without advertising, and you must
  518.      charge for the program to support that."
  519.      "It's no use advertising a program people can get free."
  520.    There are various forms of free or very cheap publicity that can be
  521. used to inform numbers of computer users about something like GNU. 
  522. But it may be true that one can reach more microcomputer users with
  523. advertising.  If this is really so, a business which advertises the
  524. service of copying and mailing GNU for a fee ought to be successful
  525. enough to pay for its advertising and more.  This way, only the users
  526. who benefit from the advertising pay for it.
  527.    On the other hand, if many people get GNU from their friends, and
  528. such companies don't succeed, this will show that advertising was not
  529. really necessary to spread GNU.  Why is it that free market advocates
  530. don't want to let the free market decide this?
  531.      "My company needs a proprietary operating system to get a
  532.      competitive edge."
  533.    GNU will remove operating system software from the realm of
  534. competition.  You will not be able to get an edge in this area, but
  535. neither will your competitors be able to get an edge over you.  You
  536. and they will compete in other areas, while benefitting mutually in
  537. this one.  If your business is selling an operating system, you will
  538. not like GNU, but that's tough on you.  If your business is something
  539. else, GNU can save you from being pushed into the expensive business
  540. of selling operating systems.
  541.    I would like to see GNU development supported by gifts from many
  542. manufacturers and users, reducing the cost to each.
  543.      "Don't programmers deserve a reward for their creativity?"
  544.    If anything deserves a reward, it is social contribution. 
  545. Creativity can be a social contribution, but only in so far as society
  546. is free to use the results.  If programmers deserve to be rewarded for
  547. creating innovative programs, by the same token they deserve to be
  548. punished if they restrict the use of these programs.
  549.      "Shouldn't a programmer be able to ask for a reward for his
  550.      creativity?"
  551.    There is nothing wrong with wanting pay for work, or seeking to
  552. maximize one's income, as long as one does not use means that are
  553. destructive.  But the means customary in the field of software today
  554. are based on destruction.
  555.    Extracting money from users of a program by restricting their use
  556. of it is destructive because the restrictions reduce the amount and
  557. the ways that the program can be used.  This reduces the amount of
  558. wealth that humanity derives from the program.  When there is a
  559. deliberate choice to restrict, the harmful consequences are deliberate
  560. destruction.
  561.    The reason a good citizen does not use such destructive means to
  562. become wealthier is that, if everyone did so, we would all become
  563. poorer from the mutual destructiveness.  This is Kantian ethics; or,
  564. the Golden Rule.  Since I do not like the consequences that result if
  565. everyone hoards information, I am required to consider it wrong for
  566. one to do so.  Specifically, the desire to be rewarded for one's
  567. creativity does not justify depriving the world in general of all or
  568. part of that creativity.
  569.      "Won't programmers starve?"
  570.    I could answer that nobody is forced to be a programmer.  Most of
  571. us cannot manage to get any money for standing on the street and
  572. making faces.  But we are not, as a result, condemned to spend our
  573. lives standing on the street making faces, and starving.  We do
  574. something else.
  575.    But that is the wrong answer because it accepts the questioner's
  576. implicit assumption: that without ownership of software, programmers
  577. cannot possibly be paid a cent.  Supposedly it is all or nothing.
  578.    The real reason programmers will not starve is that it will still be
  579. possible for them to get paid for programming; just not paid as much as
  580.    Restricting copying is not the only basis for business in software.
  581.  It is the most common basis because it brings in the most money.  If
  582. it were prohibited, or rejected by the customer, software business
  583. would move to other bases of organization which are now used less
  584. often.  There are always numerous ways to organize any kind of
  585. business.
  586.    Probably programming will not be as lucrative on the new basis as
  587. it is now.  But that is not an argument against the change.  It is not
  588. considered an injustice that sales clerks make the salaries that they
  589. now do.  If programmers made the same, that would not be an injustice
  590. either.  (In practice they would still make considerably more than
  591. that.)
  592.      "Don't people have a right to control how their creativity is
  593.      used?"
  594.    "Control over the use of one's ideas" really constitutes control
  595. over other people's lives; and it is usually used to make their lives
  596. more difficult.
  597.    People who have studied the issue of intellectual property rights
  598. carefully (such as lawyers) say that there is no intrinsic right to
  599. intellectual property.  The kinds of supposed intellectual property
  600. rights that the government recognizes were created by specific acts of
  601. legislation for specific purposes.
  602.    For example, the patent system was established to encourage
  603. inventors to disclose the details of their inventions.  Its purpose
  604. was to help society rather than to help inventors.  At the time, the
  605. life span of 17 years for a patent was short compared with the rate of
  606. advance of the state of the art.  Since patents are an issue only
  607. among manufacturers, for whom the cost and effort of a license
  608. agreement are small compared with setting up production, the patents
  609. often do not do much harm.  They do not obstruct most individuals who
  610. use patented products.
  611.    The idea of copyright did not exist in ancient times, when authors
  612. frequently copied other authors at length in works of non-fiction. 
  613. This practice was useful, and is the only way many authors' works have
  614. survived even in part.  The copyright system was created expressly for
  615. the purpose of encouraging authorship.  In the domain for which it was
  616. invented--books, which could be copied economically only on a printing
  617. press--it did little harm, and did not obstruct most of the individuals
  618. who read the books.
  619.    All intellectual property rights are just licenses granted by
  620. society because it was thought, rightly or wrongly, that society as a
  621. whole would benefit by granting them.  But in any particular
  622. situation, we have to ask: are we really better off granting such
  623. license?  What kind of act are we licensing a person to do?
  624.    The case of programs today is very different from that of books a
  625. hundred years ago.  The fact that the easiest way to copy a program is
  626. from one neighbor to another, the fact that a program has both source
  627. code and object code which are distinct, and the fact that a program
  628. is used rather than read and enjoyed, combine to create a situation in
  629. which a person who enforces a copyright is harming society as a whole
  630. both materially and spiritually; in which a person should not do so
  631. regardless of whether the law enables him to.
  632.      "Competition makes things get done better."
  633.    The paradigm of competition is a race: by rewarding the winner, we
  634. encourage everyone to run faster.  When capitalism really works this
  635. way, it does a good job; but its defenders are wrong in assuming it
  636. always works this way.  If the runners forget why the reward is
  637. offered and become intent on winning, no matter how, they may find
  638. other strategies--such as, attacking other runners.  If the runners
  639. get into a fist fight, they will all finish late.
  640.    Proprietary and secret software is the moral equivalent of runners
  641. in a fist fight.  Sad to say, the only referee we've got does not seem
  642. to object to fights; he just regulates them ("For every ten yards you
  643. run, you can fire one shot").  He really ought to break them up, and
  644. penalize runners for even trying to fight.
  645.      "Won't everyone stop programming without a monetary incentive?"
  646.    Actually, many people will program with absolutely no monetary
  647. incentive.  Programming has an irresistible fascination for some
  648. people, usually the people who are best at it.  There is no shortage
  649. of professional musicians who keep at it even though they have no hope
  650. of making a living that way.
  651.    But really this question, though commonly asked, is not appropriate
  652. to the situation.  Pay for programmers will not disappear, only become
  653. less.  So the right question is, will anyone program with a reduced
  654. monetary incentive?  My experience shows that they will.
  655.    For more than ten years, many of the world's best programmers
  656. worked at the Artificial Intelligence Lab for far less money than they
  657. could have had anywhere else.  They got many kinds of non-monetary
  658. rewards: fame and appreciation, for example.  And creativity is also
  659. fun, a reward in itself.
  660.    Then most of them left when offered a chance to do the same
  661. interesting work for a lot of money.
  662.    What the facts show is that people will program for reasons other
  663. than riches; but if given a chance to make a lot of money as well,
  664. they will come to expect and demand it.  Low-paying organizations do
  665. poorly in competition with high-paying ones, but they do not have to
  666. do badly if the high-paying ones are banned.
  667.      "We need the programmers desperately.  If they demand that we
  668.      stop helping our neighbors, we have to obey."
  669.    You're never so desperate that you have to obey this sort of demand. 
  670. Remember: millions for defense, but not a cent for tribute!
  671.      "Programmers need to make a living somehow."
  672.    In the short run, this is true.  However, there are plenty of ways
  673. that programmers could make a living without selling the right to use
  674. a program.  This way is customary now because it brings programmers
  675. and businessmen the most money, not because it is the only way to make
  676. a living.  It is easy to find other ways if you want to find them. 
  677. Here are a number of examples.
  678.    A manufacturer introducing a new computer will pay for the porting
  679. of operating systems onto the new hardware.
  680.    The sale of teaching, hand-holding and maintenance services could
  681. also employ programmers.
  682.    People with new ideas could distribute programs as freeware, asking
  683. for donations from satisfied users, or selling hand-holding services. 
  684. I have met people who are already working this way successfully.
  685.    Users with related needs can form users' groups, and pay dues.  A
  686. group would contract with programming companies to write programs that
  687. the group's members would like to use.
  688.    All sorts of development can be funded with a Software Tax:
  689.      Suppose everyone who buys a computer has to pay x percent of the
  690.      price as a software tax.  The government gives this to an agency
  691.      like the NSF to spend on software development.
  692.      But if the computer buyer makes a donation to software development
  693.      himself, he can take a credit against the tax.  He can donate to
  694.      the project of his own choosing--often, chosen because he hopes to
  695.      use the results when it is done.  He can take a credit for any
  696.      amount of donation up to the total tax he had to pay.
  697.      The total tax rate could be decided by a vote of the payers of
  698.      the tax, weighted according to the amount they will be taxed on.
  699.      The consequences:
  700.         * The computer-using community supports software development.
  701.         * This community decides what level of support is needed.
  702.         * Users who care which projects their share is spent on can
  703.           choose this for themselves.
  704.    In the long run, making programs free is a step toward the
  705. post-scarcity world, where nobody will have to work very hard just to
  706. make a living.  People will be free to devote themselves to activities
  707. that are fun, such as programming, after spending the necessary ten
  708. hours a week on required tasks such as legislation, family counseling,
  709. robot repair and asteroid prospecting.  There will be no need to be
  710. able to make a living from programming.
  711.    We have already greatly reduced the amount of work that the whole
  712. society must do for its actual productivity, but only a little of this
  713. has translated itself into leisure for workers because much
  714. nonproductive activity is required to accompany productive activity. 
  715. The main causes of this are bureaucracy and isometric struggles
  716. against competition.  Free software will greatly reduce these drains
  717. in the area of software production.  We must do this, in order for
  718. technical gains in productivity to translate into less work for us.
  719.